<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #father {
            background-color: yellow;
            width: 500px;
            height: 810px;
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: space-around;
            /* align-content: space-between; */
            align-items: center;

        }

        .child {
            background-color: gray;
            height: 100px;
            width: 100px;
            border: 1px solid red;
            flex-grow: 1;

        }

        .c1 {
            flex-grow: 2;
        }

        .cxx {
            align-self: flex-end;
        }
    </style>
</head>

<body>
    <div id="father">
        <div class="child c1">1</div>
        <div class="child c2">2</div>
        <div class="child">3</div>
        <div class="child">4</div>

        <div class="child c1">1</div>
        <div class="child c2">2</div>
        <div class="child  cxx">3</div>
        <div class="child">4</div>

        <div class="child c1">1</div>
        <div class="child c2">2</div>
        <div class="child">3</div>
        <div class="child">4</div>
</body>

</html>